package com.system.xingzhi.dao.mapper;

import com.system.xingzhi.model.Component;
import com.system.xingzhi.model.ComponentPermission;

import java.util.List;
import java.util.Map;

public interface ComponentPermissionMapper {
    int deleteByPrimaryKey(String componentPermissionId);

    int insert(ComponentPermission record);

    int insertSelective(ComponentPermission record);

    ComponentPermission selectByPrimaryKey(String componentPermissionId);

    int updateByPrimaryKeySelective(ComponentPermission record);

    int updateByPrimaryKey(ComponentPermission record);

    List<ComponentPermission> selectByParameter(Map<String,String> map);

    List<ComponentPermission> selectByComponentId(String componentId);
}